Optimal. Leaf size=65 \[ -\frac {A b^3}{x}+b^2 \log (x) (3 A c+b B)+\frac {1}{2} c^2 x^2 (A c+3 b B)+3 b c x (A c+b B)+\frac {1}{3} B c^3 x^3 \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {765} \begin {gather*} b^2 \log (x) (3 A c+b B)-\frac {A b^3}{x}+\frac {1}{2} c^2 x^2 (A c+3 b B)+3 b c x (A c+b B)+\frac {1}{3} B c^3 x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 765
Rubi steps
\begin {align*} \int \frac {(A+B x) \left (b x+c x^2\right )^3}{x^5} \, dx &=\int \left (3 b c (b B+A c)+\frac {A b^3}{x^2}+\frac {b^2 (b B+3 A c)}{x}+c^2 (3 b B+A c) x+B c^3 x^2\right ) \, dx\\ &=-\frac {A b^3}{x}+3 b c (b B+A c) x+\frac {1}{2} c^2 (3 b B+A c) x^2+\frac {1}{3} B c^3 x^3+b^2 (b B+3 A c) \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 67, normalized size = 1.03 \begin {gather*} -\frac {A b^3}{x}+\log (x) \left (3 A b^2 c+b^3 B\right )+\frac {1}{2} c^2 x^2 (A c+3 b B)+3 b c x (A c+b B)+\frac {1}{3} B c^3 x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(A+B x) \left (b x+c x^2\right )^3}{x^5} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.38, size = 75, normalized size = 1.15 \begin {gather*} \frac {2 \, B c^{3} x^{4} - 6 \, A b^{3} + 3 \, {\left (3 \, B b c^{2} + A c^{3}\right )} x^{3} + 18 \, {\left (B b^{2} c + A b c^{2}\right )} x^{2} + 6 \, {\left (B b^{3} + 3 \, A b^{2} c\right )} x \log \relax (x)}{6 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 71, normalized size = 1.09 \begin {gather*} \frac {1}{3} \, B c^{3} x^{3} + \frac {3}{2} \, B b c^{2} x^{2} + \frac {1}{2} \, A c^{3} x^{2} + 3 \, B b^{2} c x + 3 \, A b c^{2} x - \frac {A b^{3}}{x} + {\left (B b^{3} + 3 \, A b^{2} c\right )} \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 71, normalized size = 1.09 \begin {gather*} \frac {B \,c^{3} x^{3}}{3}+\frac {A \,c^{3} x^{2}}{2}+\frac {3 B b \,c^{2} x^{2}}{2}+3 A \,b^{2} c \ln \relax (x )+3 A b \,c^{2} x +B \,b^{3} \ln \relax (x )+3 B \,b^{2} c x -\frac {A \,b^{3}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.91, size = 69, normalized size = 1.06 \begin {gather*} \frac {1}{3} \, B c^{3} x^{3} - \frac {A b^{3}}{x} + \frac {1}{2} \, {\left (3 \, B b c^{2} + A c^{3}\right )} x^{2} + 3 \, {\left (B b^{2} c + A b c^{2}\right )} x + {\left (B b^{3} + 3 \, A b^{2} c\right )} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 65, normalized size = 1.00 \begin {gather*} x^2\,\left (\frac {A\,c^3}{2}+\frac {3\,B\,b\,c^2}{2}\right )+\ln \relax (x)\,\left (B\,b^3+3\,A\,c\,b^2\right )-\frac {A\,b^3}{x}+\frac {B\,c^3\,x^3}{3}+3\,b\,c\,x\,\left (A\,c+B\,b\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.22, size = 70, normalized size = 1.08 \begin {gather*} - \frac {A b^{3}}{x} + \frac {B c^{3} x^{3}}{3} + b^{2} \left (3 A c + B b\right ) \log {\relax (x )} + x^{2} \left (\frac {A c^{3}}{2} + \frac {3 B b c^{2}}{2}\right ) + x \left (3 A b c^{2} + 3 B b^{2} c\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________